﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="TopicSetDcIP.ascx.cs" Inherits="Lenovo.CFI.Web.VP.TopicSetDcIP" %>
<tbwc:StyleSheetControl ID="SscList" runat="server" CssPath="list.css"></tbwc:StyleSheetControl>
<tbwc:StyleSheetControl ID="SccAc" runat="server" CssPath="VP/autocomplete.css"></tbwc:StyleSheetControl>
<tbwc:StyleSheetControl ID="SscDp" runat="server" CssPath="DatePicker/datepicker.css"></tbwc:StyleSheetControl>
<tbwc:StyleSheetControl ID="SscThis" runat="server" CssPath="VP/topic/topicsetdcip.css"></tbwc:StyleSheetControl>
<ajaxToolkit:ToolkitScriptManager runat="Server" EnablePartialRendering="true" CombineScripts="false" ID="ScriptManager1" >
    <Services>
        <asp:ServiceReference  Path="~/WS/AjaxUser.asmx" />
    </Services>
    <Scripts>
        <asp:ScriptReference Path="~/js/jquery-1.4.2.js" />
        <asp:ScriptReference Path="~/js/jquery.autocomplete.js" />
    </Scripts>
</ajaxToolkit:ToolkitScriptManager>

<div class="wrapper">

    <tbwc:Fieldset ID="FsDcAndIp" runat="server" DesignWidth="1240px" CssClass="dcip" GroupingText="DC and IPs">
        <asp:Repeater ID="RepDcAndIp" runat="server" 
            onitemdatabound="RepDcAndIp_ItemDataBound">
            <ItemTemplate>
            <div class="line"><asp:Label ID="LblDcOwner" runat="server" AssociatedControlID="OuacDcOwner" Text="xxx Owner:" CssClass="title"></asp:Label><tbwc:OneUserAutoComplete
                ID="OuacDcOwner" runat="server" Width="9.5em" AcServiceUrl="WS/AjaxUserAc.aspx" 
                CheckServiceUrl="Lenovo.CFI.Web.WS.AjaxUser.CheckItCodes"></tbwc:OneUserAutoComplete><span class="hint"><asp:RequiredFieldValidator
                ID="RfvOuacDcOwner" runat="server" ControlToValidate="OuacDcOwner" ErrorMessage="Required" Display="Dynamic"></asp:RequiredFieldValidator></span>
                <input ID="HiDcType" type="hidden" runat="server" /></div>
            </ItemTemplate>
        </asp:Repeater>

        <div class="line"><asp:Label ID="LblIpOwner" runat="server" AssociatedControlID="OuacIpOwner" Text="IP Owner:" CssClass="title"></asp:Label><tbwc:OneUserAutoComplete
            ID="OuacIpOwner" runat="server" Width="9.5em" AcServiceUrl="WS/AjaxUserAc.aspx" 
            CheckServiceUrl="Lenovo.CFI.Web.WS.AjaxUser.CheckItCodes"></tbwc:OneUserAutoComplete><span class="hint"><asp:RequiredFieldValidator
            ID="RfvOuacIpOwner" runat="server" ControlToValidate="OuacIpOwner" ErrorMessage="Required" Display="Dynamic"></asp:RequiredFieldValidator></span></div>
    </tbwc:Fieldset>

    <tbwc:Fieldset ID="FsTime" runat="server" DesignWidth="1240px" CssClass="dates" GroupingText="Date">
        <div class="line"><asp:Label ID="LblSuggestion" runat="server" AssociatedControlID="DpSuggestion" Text="Suggestion Date:" CssClass="title"></asp:Label><tbwc:DatePicker 
            ID="DpSuggestion" runat="server" Width="8.5em" /><span class="hint"><asp:RequiredFieldValidator
            ID="RfvSuggestion" runat="server" ControlToValidate="DpSuggestion" ErrorMessage="Required" Display="Dynamic"></asp:RequiredFieldValidator></span></div>
        
        <div class="line"><asp:Label ID="LblSubmitMaterial" runat="server" AssociatedControlID="DpSubmitMaterial" Text="Submit Material Date:" CssClass="title"></asp:Label><tbwc:DatePicker 
            ID="DpSubmitMaterial" runat="server" Width="8.5em" /><span class="hint"><asp:RequiredFieldValidator
            ID="RfvSubmitMaterial" runat="server" ControlToValidate="DpSubmitMaterial" ErrorMessage="Required" Display="Dynamic"></asp:RequiredFieldValidator></span></div>
        
        <div class="line"><asp:Label ID="LblGmoReport" runat="server" AssociatedControlID="DpGmoReport" Text="Gmo Report Date:" CssClass="title"></asp:Label><tbwc:DatePicker 
            ID="DpGmoReport" runat="server" Width="8.5em" /><span class="hint"><asp:RequiredFieldValidator
            ID="RfvGmoReport" runat="server" ControlToValidate="DpGmoReport" ErrorMessage="Required" Display="Dynamic"></asp:RequiredFieldValidator></span></div>

        <div class="line"><asp:Label ID="LblReportMkt" runat="server" AssociatedControlID="DpMktReport" Text="MKT Report Date:" CssClass="title"></asp:Label><tbwc:DatePicker 
            ID="DpMktReport" runat="server" Width="8.5em" /><span class="hint"><asp:RequiredFieldValidator
            ID="RfvMktReport" runat="server" ControlToValidate="DpMktReport" ErrorMessage="Required" Display="Dynamic"></asp:RequiredFieldValidator></span></div>

        <div class="line"><asp:Label ID="LblPrincipal" runat="server" AssociatedControlID="TxtPrincipal" Text="Material Principal:" CssClass="title"></asp:Label><asp:TextBox
            ID="TxtPrincipal" runat="server" Width="10em"></asp:TextBox><span class="hint"><asp:RequiredFieldValidator
            ID="RfvPrincipal" runat="server" ControlToValidate="TxtPrincipal" ErrorMessage="Required" Display="Dynamic"></asp:RequiredFieldValidator></span></div>

    </tbwc:Fieldset>

    <div class="operation" style="padding:8px 0px 8px 16em"><asp:Button 
        ID="BtnSave" runat="server" CssClass="primary" Text="Save" OnClick="BtnSave_Click" /><asp:LinkButton 
        ID="BtnFinish" runat="server" Text="Finish" SkinID="EditSecondary" OnClick="BtnFinish_Click"></asp:LinkButton>
    </div>

</div>
